package team.pwy.util;

import redis.clients.jedis.Jedis;

/**
 * @title: CreatJedis
 * @author: DaiLing
 * @description: 得到jedis
 * @date: 2024/2/1 15:20
 */
public class CreatJedis {

    public static Jedis getJedis(){
        Jedis jedis = new Jedis("118.178.105.195", 6379);
        jedis.auth("roots");
        return jedis;
    }
}
